package com.zzx.test.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author ZhouZhiXin
 * @ClassName User
 * @Description Description Write Here.
 * @Date 2021/1/4
 * @Time 16:15
 */
@Data
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
public class User {
    //姓名
    private String name;
    //年龄
    private Integer age;
    //性别
    private Integer sex;
    //地址
    private String address;
    //赏金
    private BigDecimal money;

    public Boolean checkZs(){
        return name.equals("zs");
    }
}


